<?php
namespace yunj\control\field;

class Area extends YunjField {

    private static $instance;

    public static function instance(){
        if (!self::$instance instanceof self){
            self::$instance = new self();
        }
        return self::$instance;
    }

    protected function defineExtraArgs(){
        return [
            'value' => [],           // 值（可选，如：['province'=>'110000','city'=>'110100','district'=>'110101']）
            'acc' => 'district',     // 精度（可选值：province、city、district默认）
            'disabled'=>false       // 禁用
        ];
    }

}